import { createContext } from 'react';

export const TreeProvider = createContext<{onNodeClick: any, dataChange?: () => void}>({onNodeClick: () => {}, dataChange: () => {}});